package com.module.app.bean;

import androidx.annotation.Keep;

import com.module.third.bean.lc.MyLCObject;

import java.io.Serializable;

import cn.leancloud.annotation.LCClassName;

/**
 * @author bsnl_yanxuwen
 * @date 2021/6/28 11:25
 * Description :
 * 用户信息
 */
@Keep
@LCClassName("User_")
public class UserBean implements Serializable, MyLCObject {
    private String objectId;
    private String phone;//电话
    private String name;//名称
    private String wx;//微信账号
    private String qq;//qq账号
    private String loginType;//登录类型,phone,wx,qq
    private String headUrl;//头像
    private long vipExpiration;//当vip过期时间大于现在，则代表有vip,如果负数，则直接代表永久
    private @IType.IVipSource
    int vipSource;//vip来源
    private String deviceId;//设置id,一旦设备id跟当前id不一致提示登录问题
    private @IType.ISex
    int sex;
    private String pushId;//推送id;
    private String inviter;//邀请人
    private int inviteCount;//已成功邀请人数。

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWx() {
        return wx;
    }

    public void setWx(String wx) {
        this.wx = wx;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getObjectId() {
        return objectId;
    }

    @Override
    public String getClassName() {
        return null;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getPushId() {
        return pushId;
    }

    public void setPushId(String pushId) {
        this.pushId = pushId;
    }

    public @IType.IVipSource
    int getVipSource() {
        return vipSource;
    }

    public void setVipSource(@IType.IVipSource int vipSource) {
        this.vipSource = vipSource;
    }


    public String getInviter() {
        return inviter;
    }

    public void setInviter(String inviter) {
        this.inviter = inviter;
    }

    public int getInviteCount() {
        return inviteCount;
    }

    public void setInviteCount(int inviteCount) {
        this.inviteCount = inviteCount;
    }

    public long getVipExpiration() {
        return vipExpiration;
    }

    public void setVipExpiration(long vipExpiration) {
        this.vipExpiration = vipExpiration;
    }
}
